import { CellStatus } from "../../core/enum";
/**
 * 1.对于某个Cell,它的潜在路径应该是，它自己加上其他行的已选Cell
 */
class Cell {
  title;
  id;
  status = CellStatus.WAITING;
  spec;
  skuImg;

  constructor(spec) {
    this.title = spec.value;
    this.id = spec.value_id;
    this.spec = spec;
  }

  getCellCode() {
    return this.spec.key_id + "-" + this.spec.value_id;
  }
}

export { Cell };
